mediaFoundationMediaTypeGetAttribute
Type
function
Summary
Get an attribute of a media type Platform:desktop
Syntax
mediaFoundationMediaTypeGetAttribute(<pMediaTypeID>, <pAttribute>)
Description
The media must already be created with mediaFoundationCreateMediaType or via another API that returns a media type ID. See the attribute description in the mediaFoundationMediaTypeSetAttribute API document.
*Note
*:See the mediaFoundationTranscode documentation for a complete example of using this handler.
Parameters
Name | Type | Description |
---|---|---|
pMediaTypeID | integer | A media type ID |
pAttribute | string | The name of the attribute |
Related
command: mediaFoundationTranscode, mediaFoundationCreateMediaType
Compatibility and Support
OS
windows